<h2>Add a post:</h2>
<%= form_for([@project, @project.posts.build]) do |f| %>
	<div class="field">
		<%= f.label :poster %><br />
		<%= f.text_field :poster %>
	</div>
	<div class="field">
		<%= f.label :title %><br />
		<%= f.text_field :title %>
	</div>
	<div class="field">
		<%= f.label :body %><br />
		<%= f.text_area :body %>
	</div>
	<div class="actions">
		<%= f.submit "Add Post"%>
	</div>
<% end %>